<?php

if (IcecastStart($GL, $_SESSION['LOGIN_UID'], $_SESSION['LOGIN_NAME'])) {
    Logger($LogFile, "USER START ICECAST (".$_SESSION['LOGIN_NAME'].")");
    header("Location: ". $_SERVER['HTTP_REFERER']);
}
else {
    header("Location: http://" . $SITE . "/?action=error");
}

?>
